﻿using Fozzy;
using Fozzy.Family;
using Microsoft.FamilyShowLib;
using System.Collections.Generic;

namespace Microsoft.FamilyShow
{
    class Command                                                  : Fozzy.Skin.Command
    {
        #region Declarations
            private static System.Type          SType               = typeof(MainWindow)                ;
        #endregion

        #region Properties
        #endregion

        #region Constructeur
            public Command()                                        : base(SType)
            {}
            public Command(string name, string addition)            : base(name + addition, SType)
            {}
        #endregion

            protected override void Prepare()
            {
                base.Prepare()                                     ;
                //dialog.Filter.Add(new FilterEntry(Properties.Resources.GedcomFiles, Properties.Resources.GedcomExtension));
                //dialog.Filter.Add(new FilterEntry(Properties.Resources.AllFiles, Properties.Resources.AllExtension));
                Add(new All())                                      ;
            }
    }

}
